//
//  ViewController.swift
//  DollarBuy
//
//  Created by 郑东喜 on 2016/11/1.
//  Copyright © 2016年 郑东喜. All rights reserved.
//

import Foundation

// MARK:- 授权的常量
//let app_key = "wxb4ba3c02aa476ea1"
//微信app id
let app_key = "wxd6870b76bf49dd4c"
//微信密匙
let appSrcret = "8765965abd382bd6216b230b11bc3bb1"

//QQ密匙
let QQAppID = "1105441328"

		
let WXPatient_App_ID = app_key
let WXPatient_App_Secret = appSrcret
let WX_ACCESS_TOKEN = "access_token"
let WX_OPEN_ID = "openid"
let WX_REFRESH_TOKEN = "refresh_token"
let WX_UNION_ID = "unionid"
let WX_BASE_URL = "https://api.weixin.qq.com/sns"

let urlPrefix = "http://yungou.ie1e.com/ifs/"


///发送验证码
let sendMsgUrl = "\(urlPrefix)\("sendcode.ashx")"

///注册reg.ashx
let rigisterUrl = "\(urlPrefix)\("reg.ashx")"

///忘记密码pwdfind.ashx
let forgetPassUrl = "\(urlPrefix)\("pwdfind.ashx")"


///登陆login.ashx
let loginUrl = "\(urlPrefix)\("login.ashx")"

///收货地址address.ashx
let addressUrl = "\(urlPrefix)\("address.ashx")"

///修改密码pwdchange.ashx
let xgPass = "\(urlPrefix)\("pwdchange.ashx")"

///退出接口logout.ashx
let logoutURL = "\(urlPrefix)\("logout.ashx")"

///设备ID，暂时未定值
let deviceID = "zdx123"

///设备类型
let deviceTpye = 1

//提示语
let tfNumIsNull = "手机号不能为空"
let tfNumNotCor = "手机号格式不对"
let tfPassNull = "密码不能为空"
let tfAutoNull = "验证码不能为空"
let passTwoChekc = "两次密码不一致"
let tfAuthWrong = "验证码错误"
let loginSuccess = "登陆成功"
let changePassSuccess = "密码修改成功"
let rigSuccess = "注册成功"
let msgSengWrong = "发送失败,请重试"
let passAndAccountNot = "账号或密码不对"
let numUsed = "该号码已注册"
let msgSended = "短信发送成功"
let confirPassNotNull = "确认密码不能为空"
let authNumWrong = "短信验证码错误"
let netWrong = "网络异常,请检查设置"
let agressLawing = "请同意协议"
let changePasSuccess = "密码修改成功"
let passNotCor = "原始密码错误"
let confirmPassNull = "确认密码为空"
let msgSendFail = "短信发送失败，请重试"
let passNewNil = "新密码不能为空"
let tokenNotifi = "tokenNotifi"



/**
 本地信息存储
 */
//用户动态标识ID
let userToken = "userToken"

//本地存储
let localSave = UserDefaults.standard

//同意协议
let agreeLaw = "agreeLaw"

//表头视图tag -- 头像
let myHeadImgTag = 112
//表头视图tag -- 电话号码
let myHeadTelTag = 111
//退出tag
let myheadLogout = 113

//登陆用户名
let localName = "localName"
//登陆用户名密码
let localPass = "localPass"








